<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // var time = prompt('请输入0~59之间的数');
        // var a = time < 10 ? ('0' + time) : time
        // alert(a);
        // var b = new Date();
        // console.log(b);
        // for (var i = 59; i >= 0; i--) {
        //     console.log(i);
        // }
        var str = '';
        for (var i = 1; i <= 10; i++) {
            for (var j = 1; j <= i; j++) {
                str += '⭐';
            }
            str += '\n';
        }
        console.log(str);
    </script>
</head>

<body>

</body>

</html>